package com.biye.api.service;

import com.alibaba.fastjson.JSONObject;

import java.util.Map;

public interface AuthorityService {

    // 查询所有权限list(role+group)
    JSONObject queryAllRoleOrGroupAuthorityList();

    // 根据职工id获取该职工的权限list(role+group)
    JSONObject queryAllRoleOrGroupAuthorityListByStaffId(Map<String, Object> request);

    // 更新改用户的权限list(role+group)
    JSONObject updateStaffAuthorityList(Map<String, Object> requestMap);

}
